var express = require('express');
var router = express.Router();

const LikeController = require('../controller/like');

//用户点赞动态
router.post('/likeShare', LikeController.likeShare)
//用户取消动态点赞
router.post('/cancelLikeShare', LikeController.cancelLikeShare)
//用户点赞评论
router.post('/likeRemark', LikeController.likeRemark)
//用户取消评论点赞
router.post('/cancelLikeRemark', LikeController.cancelLikeRemark)
//获取用户的点赞动态
router.get('/getUserLikeShare', LikeController.getUserLikeShare)
//获取用户的点赞评论
router.get('/getUserLikeRemark', LikeController.getUserLikeRemark)

module.exports = router;
